<%-- 
    Document   : index
    Created on : 06-feb-2014, 11:10:31
    Author     : Juan
--%>

<%@page import="java.util.Date"%>
<%@page import="archivos.BorrarDirectorio"%>
<%@page import="java.io.File"%>
<%@page import="utils.OS"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
    <head>
        <title>BioNet</title>
        <meta name="description" content="Herramienta de comparacion y enriquecimiento de redes">
        <meta name="keywords" content="gene network,gene,network,pathway,bioinformatica">
        <meta name="author" content="Juan">
        <link rel="shortcut icon" href="disenoWeb/images/favicon.ico" />
        <%@include file="disenoWeb/title.html" %>
        <meta charset="utf-8">
        <link rel="stylesheet" href="disenoWeb/css/reset.css" type="text/css" media="screen">
        <link rel="stylesheet" href="disenoWeb/css/style.css" type="text/css" media="screen">
        <link rel="stylesheet" href="disenoWeb/css/grid.css" type="text/css" media="screen">   
        <script src="disenoWeb/js/jquery-1.6.3.min.js" type="text/javascript"></script>
        <script src="disenoWeb/js/cufon-yui.js" type="text/javascript"></script>
        <script src="disenoWeb/js/cufon-replace.js" type="text/javascript"></script>
        <script src="disenoWeb/js/NewsGoth_400.font.js" type="text/javascript"></script>
        <script src="disenoWeb/js/NewsGoth_700.font.js" type="text/javascript"></script>
        <script src="disenoWeb/js/NewsGoth_Lt_BT_italic_400.font.js" type="text/javascript"></script>
        <script src="disenoWeb/js/Vegur_400.font.js" type="text/javascript"></script> 
        <script src="disenoWeb/js/FF-cash.js" type="text/javascript"></script>
        <script src="disenoWeb/js/jquery.featureCarousel.js" type="text/javascript"></script>     
        <script type="text/javascript">
            $(document).ready(function() {
                $("#carousel").featureCarousel({
                    autoPlay: 7000,
                    trackerIndividual: false,
                    trackerSummation: false,
                    topPadding: 50,
                    smallFeatureWidth: .9,
                    smallFeatureHeight: .9,
                    sidePadding: 0,
                    smallFeatureOffset: 0
                });
            });
        </script>

    </head>
    <body id="page1">


        <%            String separator = OS.getDirectorySeparator();
            Date actual = new Date();
            long act = actual.getTime();
            long dia = 86400000;
            String ruta = application.getRealPath(separator
                    + "WEB-INF" + separator + "datos");
            File datos = new File(ruta);
            File[] carpetas = datos.listFiles();
            for (int i = 0; i < carpetas.length; i++) {

                File[] sesiones = carpetas[i].listFiles();
                if (sesiones != null) {
                    for (int j = 0; j < sesiones.length; j++) {
                        long tiempo = sesiones[j].lastModified();
                        String nombre = sesiones[j].getName();
                        long dif = act - tiempo;
                        if (dif > dia && !nombre.equals("funcassociate")) {
                            BorrarDirectorio.borrarDirectorio(sesiones[j]);
                            sesiones[j].delete();
                        }

                    }
                }

            }


        %>

        <div class="extra">
            <!--==============================header=================================-->
            <header>
                <%@include file="disenoWeb/divHeader.jsp" %>
                <div class="menu-row">
                    <div class="menu-bg">
                        <div class="main">
                            <nav class="indent-left">
                                <ul class="menu wrapper">
                                    <li class="active"><a href="index.jsp">Home page</a></li>
                                    <li><a href="comparacion/formCompNet.jsp">Network Comparison</a></li>
                                    <li><a href="enrichNet/formEnrichNet.jsp">Network Enrichment</a></li>
                                    <li><a href="enrichAnalysis/formEnrich.jsp">Enrichment Analysis</a></li>
                                    <li><a href="goganpa/formGoganpa.jsp">Genes Networking</a></li>
                                    <li><a href="utilidades/contact.jsp">Contact Us</a></li>
                                </ul>
                            </nav>
                        </div>
                    </div>
                </div>
                <div class="row-bot">
                    <div class="center-shadow">
                        <div class="carousel-container">
                            <div id="carousel">
                                <div class="carousel-feature">
                                    <a href="#"><img class="carousel-image" alt="" src="disenoWeb/images/gallery-img1.png"></a>                          
                                </div>
                                <div class="carousel-feature">
                                    <a href="#"><img class="carousel-image" alt="" src="disenoWeb/images/gallery-img3.png"></a>
                                </div>
                                <div class="carousel-feature">
                                    <a href="#"><img class="carousel-image" alt="" src="disenoWeb/images/gallery-img2.png"></a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </header>

            <!--==============================content================================-->
            <section id="content"><div class="ic">More Website Templates @ TemplateMonster.com. December10, 2011!</div>
                <div class="main">
                    <div class="container_12">
                        <div class="wrapper">
                            <article class="grid_8">
                                <h3>Welcome! Why Choose Us?</h3>
                                <em class="text-1 margin-bot">BioNet is a Bioinformatic Web Application that offers the following features:</em>
                                <div class="wrapper p4">
                                    <article class="grid_4 alpha">
                                        <div class="wrapper p1">
                                            <div class="extra-wrap">
                                                <div class="indent-top">
                                                    <h4>NETWORKS COMPARISON</h4>
                                                </div>
                                            </div>
                                        </div>
                                        <p class="prev-indent-bot">It allows the comparison between the gene networks. <br/>
                                            The input net can be compared with Kegg's Pathways, GO terms or other input net.<br/>
                                            The result is a set of measures of comparison (Precision, Recall, Fmeasure, Mean Error Jaccard Similarity, Fscore, Specificity, False Positive and Segmentation Accuracy). 
                                        </p>

                                    </article>
                                    <article class="grid_4 alpha">
                                        <div class="wrapper p1">
                                            <div class="extra-wrap">
                                                <div class="indent-top">
                                                    <h4>ENRICHMENT NETWORK</h4>
                                                </div>
                                            </div>
                                        </div>
                                        <p class="prev-indent-bot">It is a computational method that determines whether an a priori defined human net of genes shows statistically significant, concordant with nets of databases like Kegg, GO or Reactome.<br/>
                                            The result is a set of measures of enrichment (Number Links, Expected Links, Number of Genes, Number of AGS Genes, Z Score ,P Value and FDR).</p>

                                    </article>
                                </div>
                                <div class="wrapper">
                                    <article class="grid_4 alpha">
                                        <div class="wrapper p1">
                                            <div class="extra-wrap">
                                                <div class="indent-top">
                                                    <h4>ENRICHMENT ANALYSIS</h4>
                                                </div>
                                            </div>
                                        </div>
                                        <p class="prev-indent-bot">It is a computational method that determines whether an a priori defined set of genes shows statistically significant, concordant with databases like Kegg or GO.<br/>
                                            The result is a set of measures of enrichment (Pvalue ,Bonferroni Correction and Bonferroni Step Down Correction).</p>

                                    </article>
                                    <article class="grid_4 alpha">
                                        <div class="wrapper p1">
                                            <div class="extra-wrap">
                                                <div class="indent-top">
                                                    <h4>GENES NETWORKING</h4>
                                                </div>
                                            </div>
                                        </div>
                                        <p class="prev-indent-bot">A Gene-Set-Analysis method that constructs a gene network by linking gene-pairs, as indicated by a GO-functional network constructed from a GO-similarity matrix.</p>

                                    </article>
                                </div>
                            </article>

                        </div>
                    </div>
                </div>
                <div class="block"></div>
            </section>
        </div>

        <!--==============================footer=================================-->
        <footer>
            <%@include file="disenoWeb/footer.html" %>
        </footer>
        <script type="text/javascript"> Cufon.now();</script>
    </body>
</html>
